#include"sort.h"
#include<iostream>

int main() {
    std::vector<int> arr1 = {12, 11, 13, 5, 6};
    insertionSort(arr1);

    std::cout << "插入排序后的数组: ";
    for (int num : arr1) {
        std::cout << num << " ";
    }
    std::cout << std::endl;

    std::vector<int> arr = {64, 25, 12, 22, 11};
    selectionSort(arr);

    std::cout << "选择排序后的数组: ";
    for (int num : arr) {
        std::cout << num << " ";
    }
    std::cout << std::endl;

    return 0;
}
